<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="Hexo Theme Keep">
    <meta name="description" content="Hexo Theme Keep">
    <meta name="author" content="Da">
    
    <title>
        
            Git的一些基本操作 |
        
        Da的个人博客
    </title>
    
<link rel="stylesheet" href="/css/style.css">

    <link rel="shortcut icon" href="/images/logo.svg">
    
<link rel="stylesheet" href="/css/font-awesome.min.css">

    <script id="hexo-configurations">
    let KEEP = window.KEEP || {};
    KEEP.hexo_config = {"hostname":"da9527.gitee.io","root":"/","language":"zh-CN","path":"search.json"};
    KEEP.theme_config = {"toc":{"enable":true,"number":false,"expand_all":false,"init_open":false},"style":{"primary_color":"#CC0000","avatar":"/images/avatar.svg","favicon":"/images/logo.svg","article_img_align":"left","left_side_width":"260px","content_max_width":"920px","hover":{"shadow":true,"scale":true},"first_screen":{"enable":true,"background_img":"/images/bg.svg","description":"我不怕千万人阻挡,只怕自己投降"},"scroll":{"progress_bar":{"enable":false},"percent":{"enable":false}}},"local_search":{"enable":true,"preload":false},"code_copy":{"enable":true,"style":"default"},"pjax":{"enable":true},"lazyload":{"enable":true},"version":"3.4.2"};
    KEEP.language_ago = {"second":"%s 秒前","minute":"%s 分钟前","hour":"%s 小时前","day":"%s 天前","week":"%s 周前","month":"%s 月前","year":"%s 年前"};
  </script>
<meta name="generator" content="Hexo 5.4.0"></head>


<body>
<div class="progress-bar-container">
    

    
        <span class="pjax-progress-bar"></span>
        <span class="pjax-progress-icon">
            <i class="fas fa-circle-notch fa-spin"></i>
        </span>
    
</div>


<main class="page-container">

    

    <div class="page-main-content">

        <div class="page-main-content-top">
            <header class="header-wrapper">

    <div class="header-content">
        <div class="left">
            <a class="logo-title" href="/">
                Da的个人博客
            </a>
        </div>

        <div class="right">
            <div class="pc">
                <ul class="menu-list">
                    
                        <li class="menu-item">
                            <a class=""
                               href="/"
                            >
                                首页
                            </a>
                        </li>
                    
                        <li class="menu-item">
                            <a class=""
                               href="/archives"
                            >
                                归档
                            </a>
                        </li>
                    
                        <li class="menu-item">
                            <a class=""
                               href="/about"
                            >
                                关于
                            </a>
                        </li>
                    
                    
                        <li class="menu-item search search-popup-trigger">
                            <i class="fas fa-search"></i>
                        </li>
                    
                </ul>
            </div>
            <div class="mobile">
                
                    <div class="icon-item search search-popup-trigger"><i class="fas fa-search"></i></div>
                
                <div class="icon-item menu-bar">
                    <div class="menu-bar-middle"></div>
                </div>
            </div>
        </div>
    </div>

    <div class="header-drawer">
        <ul class="drawer-menu-list">
            
                <li class="drawer-menu-item flex-center">
                    <a class=""
                       href="/">首页</a>
                </li>
            
                <li class="drawer-menu-item flex-center">
                    <a class=""
                       href="/archives">归档</a>
                </li>
            
                <li class="drawer-menu-item flex-center">
                    <a class=""
                       href="/about">关于</a>
                </li>
            
        </ul>
    </div>

    <div class="window-mask"></div>

</header>


        </div>

        <div class="page-main-content-middle">

            <div class="main-content">

                
                    <div class="fade-in-down-animation">
    <div class="article-content-container">

        <div class="article-title">
            <span class="title-hover-animation">Git的一些基本操作</span>
        </div>

        
            <div class="article-header">
                <div class="avatar">
                    <img src="/images/avatar.svg">
                </div>
                <div class="info">
                    <div class="author">
                        <span class="name">Da</span>
                        
                            <span class="author-label">Lv4</span>
                        
                    </div>
                    <div class="meta-info">
                        <div class="article-meta-info">
    <span class="article-date article-meta-item">
        <i class="fas fa-edit"></i>&nbsp;2021-04-19 23:33:16
    </span>
    
    

    
    
        <span class="article-wordcount article-meta-item">
            <i class="fas fa-file-word"></i>&nbsp;<span>787 字</span>
        </span>
    
    
        <span class="article-min2read article-meta-item">
            <i class="fas fa-clock"></i>&nbsp;<span>3 分钟</span>
        </span>
    
    
        <span class="article-pv article-meta-item">
            <i class="fas fa-eye"></i>&nbsp;<span id="busuanzi_value_page_pv"></span>
        </span>
    
</div>

                    </div>
                </div>
            </div>
        

        <div class="article-content markdown-body">
            <h1 id="1、Git介绍"><a href="#1、Git介绍" class="headerlink" title="1、Git介绍"></a>1、Git介绍</h1><blockquote>
<p> Git（读音为/gɪt/）是一个开源的分布式版本控制系统，可以有效、高速地处理从很小到非常大的项目版本       管理。</p>
<p> Git 是 Linus Torvalds 为了帮助管理 Linux内核开发而开发的一个开放源码的版本控制软件。</p>
<p> 大概知道它是个开源的分布式版本控制系统就行了，我们主要学习Git的使用。</p>
<p> Git官网(<a class="link"   target="_blank" rel="noopener" href="https://git-scm.com/" >https://git-scm.com/<i class="fas fa-external-link-alt"></i></a>)</p>
</blockquote>
<h1 id="2、初始化仓库"><a href="#2、初始化仓库" class="headerlink" title="2、初始化仓库"></a>2、初始化仓库</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git init</span><br></pre></td></tr></table></figure>

<h1 id="3、设置签名-级别优先级，就近原则-仓库-gt-系统"><a href="#3、设置签名-级别优先级，就近原则-仓库-gt-系统" class="headerlink" title="3、设置签名(级别优先级，就近原则     仓库 &gt; 系统 )"></a>3、设置签名(级别优先级，就近原则     仓库 &gt; 系统 )</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">仓库签名:</span><br><span class="line">    git config user.name code</span><br><span class="line">    git config user.emali code@code.com</span><br><span class="line">    </span><br><span class="line">系统用户级别签名:</span><br><span class="line">    git config --global user.name code</span><br><span class="line">    git config --global user.emali code@code.com</span><br></pre></td></tr></table></figure>
<h1 id="4、状态查看"><a href="#4、状态查看" class="headerlink" title="4、状态查看"></a>4、状态查看</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git status</span><br></pre></td></tr></table></figure>
<h1 id="5、添加文件"><a href="#5、添加文件" class="headerlink" title="5、添加文件"></a>5、添加文件</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git add 文件名</span><br></pre></td></tr></table></figure>
<h1 id="6、提交"><a href="#6、提交" class="headerlink" title="6、提交"></a>6、提交</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git commit -m &quot;提交描述&quot; 提交的文件名</span><br></pre></td></tr></table></figure>
<h1 id="7、查看历史记录"><a href="#7、查看历史记录" class="headerlink" title="7、查看历史记录"></a>7、查看历史记录</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">git log</span><br><span class="line">git log --pretty&#x3D;oneline  &#x2F;&#x2F;查看一行记录</span><br><span class="line">git log --oneline  &#x2F;&#x2F;查看一行记录</span><br><span class="line">git reflog</span><br></pre></td></tr></table></figure>
<h1 id="8、前进后退（回退版本就能找回上个版本的内容）"><a href="#8、前进后退（回退版本就能找回上个版本的内容）" class="headerlink" title="8、前进后退（回退版本就能找回上个版本的内容）"></a>8、前进后退（回退版本就能找回上个版本的内容）</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">git reset --hard [局部索引值]</span><br><span class="line">&#x2F;&#x2F;使用^、~符号，只能后退</span><br><span class="line">git reset --hard HEAD^ &#x2F;&#x2F;一个^后退一步n个后退n步</span><br><span class="line">git reset --hard HEAD~n &#x2F;&#x2F;后退n步</span><br></pre></td></tr></table></figure>
<h1 id="9、比较文件差异"><a href="#9、比较文件差异" class="headerlink" title="9、比较文件差异"></a>9、比较文件差异</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git diff 文件名（不带文件名比较多个文件）</span><br></pre></td></tr></table></figure>
<h1 id="10、分支"><a href="#10、分支" class="headerlink" title="10、分支"></a>10、分支</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">	&#x2F;&#x2F;创建分支</span><br><span class="line">	git branch [分支名]</span><br><span class="line">&#x2F;&#x2F;查看分支</span><br><span class="line">git branch -v</span><br><span class="line">&#x2F;&#x2F;切换分支</span><br><span class="line">git checkout [分支名]</span><br><span class="line">&#x2F;&#x2F;合并分支</span><br><span class="line">   git checkout [被合并分支名]  &#x2F;&#x2F;切换到接受修改的分支（被合并，增加新内容 ) 上</span><br><span class="line">   git merge [有新内容分支名]  &#x2F;&#x2F;执行 merge 命令,合并分支</span><br></pre></td></tr></table></figure>
<h1 id="11、解决冲突"><a href="#11、解决冲突" class="headerlink" title="11、解决冲突"></a>11、解决冲突</h1>  <figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">   第一步：编辑文件，删除特殊符号</span><br><span class="line">第二步：把文件修改到满意的程度，保存退出</span><br><span class="line">第三步：git add [文件名]</span><br><span class="line">第四步：git commit -m &quot;日志信息&quot;   &#x2F;&#x2F;注意：此时 commit 一定不能带具体文件</span><br></pre></td></tr></table></figure>
<h1 id="12、创建远程库地址别名"><a href="#12、创建远程库地址别名" class="headerlink" title="12、创建远程库地址别名"></a>12、创建远程库地址别名</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">git remote -v 查看当前所有远程地址别名</span><br><span class="line">git remote add [别名] [远程地址]</span><br></pre></td></tr></table></figure>
<h1 id="13、推送"><a href="#13、推送" class="headerlink" title="13、推送"></a>13、推送</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git push [别名] [分支名]</span><br></pre></td></tr></table></figure>
<h1 id="14、克隆"><a href="#14、克隆" class="headerlink" title="14、克隆"></a>14、克隆</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git clone [远程地址]</span><br></pre></td></tr></table></figure>
<h1 id="15、拉取"><a href="#15、拉取" class="headerlink" title="15、拉取"></a>15、拉取</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">git fetch [远程库地址别名] [远程分支名]</span><br><span class="line">git merge [远程库地址别名&#x2F;远程分支名]</span><br><span class="line">git pull [远程库地址别名]  &#x2F;&#x2F;pull&#x3D;fetch+merge</span><br></pre></td></tr></table></figure>
<h1 id="16、SSH-登录-免密登陆"><a href="#16、SSH-登录-免密登陆" class="headerlink" title="16、SSH 登录(免密登陆)"></a>16、SSH 登录(免密登陆)</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br></pre></td><td class="code"><pre><span class="line">进入当前用户的家目录：cd ~ </span><br><span class="line"></span><br><span class="line">删除.ssh 目录(没有或者以前生成过可以忽略这步)： rm -rvf .ssh</span><br><span class="line"></span><br><span class="line">运行命令生成.ssh 密钥目录  [注意：这里-C 这个参数是大写的 C]：  </span><br><span class="line">		ssh-keygen -t rsa -C code@qq.com &#x2F;&#x2F;邮箱改成自己的</span><br><span class="line">		</span><br><span class="line">进入.ssh 目录查看文件列表:  cd .ssh | ls -lF  (可以忽略)</span><br><span class="line"></span><br><span class="line">查看 id_rsa.pub 文件内容 :    cat id_rsa.pub （可以忽略）</span><br><span class="line"></span><br><span class="line">复制 id_rsa.pub 文件内容，登录 GitHub</span><br><span class="line"></span><br><span class="line">点击用户头像→Settings→SSH and GPG</span><br><span class="line">	keys &#x3D;&gt; New SSH Key   </span><br><span class="line">	</span><br><span class="line">输入复制的密钥信息</span><br><span class="line"></span><br><span class="line">回到 Git bash 创建远程地址别名</span><br><span class="line"></span><br><span class="line">git remote add origin_ssh [ssh链接]</span><br><span class="line"></span><br><span class="line">推送文件进行测试   </span><br></pre></td></tr></table></figure>




<p>​    </p>

        </div>

        
            <div class="post-copyright-info">
                <div class="article-copyright-info-container">
    <ul>
        <li>本文标题：Git的一些基本操作</li>
        <li>本文作者：Da</li>
        <li>创建时间：2021-04-19 23:33:16</li>
        <li>
            本文链接：https://da9527.gitee.io/2021/04/19/Git的一些基本操作/
        </li>
        <li>
            版权声明：本博客所有文章除特别声明外，均采用 <a class="license" target="_blank" rel="noopener" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">BY-NC-SA</a> 许可协议。转载请注明出处！
        </li>
    </ul>
</div>

            </div>
        

        
            <div class="article-nav">
                
                    <div class="article-prev">
                        <a class="prev"
                           rel="prev"
                           href="/2021/04/20/%E4%B8%80%E4%BA%9Bjavascript%E5%AD%A6%E4%B9%A0%E7%9A%84%E7%AC%94%E8%AE%B0/"
                        >
                            <span class="left arrow-icon flex-center">
                              <i class="fas fa-chevron-left"></i>
                            </span>
                            <span class="title flex-center">
                                <span class="post-nav-title-item">一些javascript学习的笔记</span>
                                <span class="post-nav-item">上一篇</span>
                            </span>
                        </a>
                    </div>
                
                
                    <div class="article-next">
                        <a class="next"
                           rel="next"
                           href="/2021/04/19/%E6%90%AD%E5%BB%BA%E5%B1%9E%E4%BA%8E%E4%BD%A0%E8%87%AA%E5%B7%B1%E7%9A%84%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2/"
                        >
                            <span class="title flex-center">
                                <span class="post-nav-title-item">搭建属于你自己的个人博客</span>
                                <span class="post-nav-item">下一篇</span>
                            </span>
                            <span class="right arrow-icon flex-center">
                              <i class="fas fa-chevron-right"></i>
                            </span>
                        </a>
                    </div>
                
            </div>
        

        
    </div>
</div>


                
            </div>

        </div>

        <div class="page-main-content-bottom">
            <footer class="footer">
    <div class="info-container">
        <div class="copyright-info info-item">
            &copy;
            
              <span>2020</span>&nbsp;-&nbsp;
            
            2021&nbsp;<i class="fas fa-heart icon-animate"></i>&nbsp;<a href="/">Da</a>
        </div>
        
            <script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
            <div class="website-count info-item">
                
                    <span id="busuanzi_container_site_uv">
                        访问人数&nbsp;<span id="busuanzi_value_site_uv"></span>&ensp;
                    </span>
                
                
                    <span id="busuanzi_container_site_pv">
                        总访问量&nbsp;<span id="busuanzi_value_site_pv"></span>
                    </span>
                
            </div>
        
        <div class="theme-info info-item">
            由 <a target="_blank" href="https://hexo.io">Hexo</a> 驱动&nbsp;|&nbsp;主题&nbsp;<a class="theme-version" target="_blank" href="https://github.com/XPoet/hexo-theme-keep">Keep v3.4.2</a>
        </div>
        
    </div>
</footer>

        </div>
    </div>

    
        <div class="post-tools">
            <div class="post-tools-container">
    <ul class="tools-list">
        <!-- TOC aside toggle -->
        
            <li class="tools-item page-aside-toggle">
                <i class="fas fa-outdent"></i>
            </li>
        

        <!-- go comment -->
        
    </ul>
</div>

        </div>
    

    <div class="right-bottom-side-tools">
        <div class="side-tools-container">
    <ul class="side-tools-list">
        <li class="tools-item tool-font-adjust-plus flex-center">
            <i class="fas fa-search-plus"></i>
        </li>

        <li class="tools-item tool-font-adjust-minus flex-center">
            <i class="fas fa-search-minus"></i>
        </li>

        <li class="tools-item tool-expand-width flex-center">
            <i class="fas fa-arrows-alt-h"></i>
        </li>

        <li class="tools-item tool-dark-light-toggle flex-center">
            <i class="fas fa-moon"></i>
        </li>

        <!-- rss -->
        

        
            <li class="tools-item tool-scroll-to-top flex-center">
                <i class="fas fa-arrow-up"></i>
            </li>
        

        <li class="tools-item tool-scroll-to-bottom flex-center">
            <i class="fas fa-arrow-down"></i>
        </li>
    </ul>

    <ul class="exposed-tools-list">
        <li class="tools-item tool-toggle-show flex-center">
            <i class="fas fa-cog fa-spin"></i>
        </li>
        
    </ul>
</div>

    </div>

    
        <aside class="page-aside">
            <div class="post-toc-wrap">
    <div class="post-toc">
        <ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#1%E3%80%81Git%E4%BB%8B%E7%BB%8D"><span class="nav-text">1、Git介绍</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#2%E3%80%81%E5%88%9D%E5%A7%8B%E5%8C%96%E4%BB%93%E5%BA%93"><span class="nav-text">2、初始化仓库</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#3%E3%80%81%E8%AE%BE%E7%BD%AE%E7%AD%BE%E5%90%8D-%E7%BA%A7%E5%88%AB%E4%BC%98%E5%85%88%E7%BA%A7%EF%BC%8C%E5%B0%B1%E8%BF%91%E5%8E%9F%E5%88%99-%E4%BB%93%E5%BA%93-gt-%E7%B3%BB%E7%BB%9F"><span class="nav-text">3、设置签名(级别优先级，就近原则     仓库 &gt; 系统 )</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#4%E3%80%81%E7%8A%B6%E6%80%81%E6%9F%A5%E7%9C%8B"><span class="nav-text">4、状态查看</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#5%E3%80%81%E6%B7%BB%E5%8A%A0%E6%96%87%E4%BB%B6"><span class="nav-text">5、添加文件</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#6%E3%80%81%E6%8F%90%E4%BA%A4"><span class="nav-text">6、提交</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#7%E3%80%81%E6%9F%A5%E7%9C%8B%E5%8E%86%E5%8F%B2%E8%AE%B0%E5%BD%95"><span class="nav-text">7、查看历史记录</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#8%E3%80%81%E5%89%8D%E8%BF%9B%E5%90%8E%E9%80%80%EF%BC%88%E5%9B%9E%E9%80%80%E7%89%88%E6%9C%AC%E5%B0%B1%E8%83%BD%E6%89%BE%E5%9B%9E%E4%B8%8A%E4%B8%AA%E7%89%88%E6%9C%AC%E7%9A%84%E5%86%85%E5%AE%B9%EF%BC%89"><span class="nav-text">8、前进后退（回退版本就能找回上个版本的内容）</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#9%E3%80%81%E6%AF%94%E8%BE%83%E6%96%87%E4%BB%B6%E5%B7%AE%E5%BC%82"><span class="nav-text">9、比较文件差异</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#10%E3%80%81%E5%88%86%E6%94%AF"><span class="nav-text">10、分支</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#11%E3%80%81%E8%A7%A3%E5%86%B3%E5%86%B2%E7%AA%81"><span class="nav-text">11、解决冲突</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#12%E3%80%81%E5%88%9B%E5%BB%BA%E8%BF%9C%E7%A8%8B%E5%BA%93%E5%9C%B0%E5%9D%80%E5%88%AB%E5%90%8D"><span class="nav-text">12、创建远程库地址别名</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#13%E3%80%81%E6%8E%A8%E9%80%81"><span class="nav-text">13、推送</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#14%E3%80%81%E5%85%8B%E9%9A%86"><span class="nav-text">14、克隆</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#15%E3%80%81%E6%8B%89%E5%8F%96"><span class="nav-text">15、拉取</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#16%E3%80%81SSH-%E7%99%BB%E5%BD%95-%E5%85%8D%E5%AF%86%E7%99%BB%E9%99%86"><span class="nav-text">16、SSH 登录(免密登陆)</span></a></li></ol>
    </div>
</div>
        </aside>
    

    <div class="image-viewer-container">
    <img src="">
</div>


    
        <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
          <span class="search-input-field-pre">
            <i class="fas fa-keyboard"></i>
          </span>
            <div class="search-input-container">
                <input autocomplete="off"
                       autocorrect="off"
                       autocapitalize="off"
                       placeholder="搜索..."
                       spellcheck="false"
                       type="search"
                       class="search-input"
                >
            </div>
            <span class="popup-btn-close">
                <i class="fas fa-times"></i>
            </span>
        </div>
        <div id="search-result">
            <div id="no-result">
                <i class="fas fa-spinner fa-pulse fa-5x fa-fw"></i>
            </div>
        </div>
    </div>
</div>

    

</main>




<script src="/js/utils.js"></script>

<script src="/js/main.js"></script>

<script src="/js/header-shrink.js"></script>

<script src="/js/back2top.js"></script>

<script src="/js/dark-light-toggle.js"></script>



    
<script src="/js/local-search.js"></script>




    
<script src="/js/code-copy.js"></script>




    
<script src="/js/lazyload.js"></script>



<div class="post-scripts pjax">
    
        
<script src="/js/left-side-toggle.js"></script>

<script src="/js/libs/anime.min.js"></script>

<script src="/js/toc.js"></script>

    
</div>


    
<script src="/js/libs/pjax.min.js"></script>

<script>
    window.addEventListener('DOMContentLoaded', () => {
        const pjax = new Pjax({
            selectors: [
                'head title',
                '.page-container',
                '.pjax'
            ],
            history: true,
            debug: false,
            cacheBust: false,
            timeout: 0,
            analytics: false,
            currentUrlFullReload: false,
            scrollRestoration: false,
            // scrollTo: true,
        });

        document.addEventListener('pjax:send', () => {
            KEEP.utils.pjaxProgressBarStart();
        });

        document.addEventListener('pjax:complete', () => {
            KEEP.utils.pjaxProgressBarEnd();
            pjax.executeScripts(document.querySelectorAll('script[data-pjax], .pjax script'));
            KEEP.refresh();
        });
    });
</script>



<script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"jsonPath":"/live2dw/assets/shizuku.model.json"},"display":{"position":"left","width":120,"height":240},"mobile":{"show":false},"log":false});</script></body>
</html>
